using MediatR;
using MES.Server.API.Dto.Material_Management.OutPut;
using ReturnValue;

namespace MES.Server.API.Application.Command.Material_Management
{
    public class GetBomTreeCommand : IRequest<ApiResult<List<GetBomOutPut>>>
    {
        /// <summary>
        /// 根节点BOM ID，如果为null则获取所有根节点
        /// </summary>
        public long? RootBomId { get; set; }
        /// <summary>
        /// 是否只获取指定层级
        /// </summary>
        public int? MaxLevel { get; set; }
    }
}
